<template>
	<view>
        <view class="header">
            欢迎中介
        </view>
		<view class="list-content">
			<view class="list">
				<view class="li" @tap="toOrderCompletion">
					<image class="icon" src="http://192.168.43.54:8002/images/icon/agent/完成订单.png"></image>
					<view class="text">订单完成</view>
					<image class="to" src="http://192.168.43.54:8002/images/userMain/to.png"></image>
				</view>
			</view>

			<!-- <view class="list">
				<view class="li" @tap="toOrder">
					<image class="icon" src="http://192.168.43.54:8002/images/icon/agent/我的订单.png"></image>
					<view class="text" >订单查询</view>
					<image class="to" src="http://192.168.43.54:8002/images/userMain/to.png"></image>
				</view>
			</view> -->

			<!-- <view class="list">
				<view class="li" @tap="torobHouse">
					<image class="icon" src="http://192.168.43.54:8002/images/icon/agent/抢单.png"></image>
					<view class="text">抢房揽单</view>
					<image class="to" src="http://192.168.43.54:8002/images/userMain/to.png"></image>
				</view>
			</view> -->
			
			<view class="list">
				<view class="li" @tap="toreviewApplication">
					<image class="icon" src="http://192.168.43.54:8002/images/icon/agent/申请.png"></image>
					<view class="text">看房申请</view>
					<image class="to" src="http://192.168.43.54:8002/images/userMain/to.png"></image>
				</view>
			</view>

            <!-- <view class="list">
				<view class="li" @tap="toBemedium">
					<image class="icon" src="http://192.168.43.54:8002/images/icon/agent/申请.png"></image>
					<view class="text">成为中介</view>
					<image class="to" src="http://192.168.43.54:8002/images/userMain/to.png"></image>
				</view>
			</view> -->
		</view>
	</view>
</template>

<script>
export default {
    data () {
        return {

        }
    },
    methods: {
        toOrderCompletion (){
            uni.navigateTo({
                url:"/pages/agent/orderCompletion"
            })
        },
        toOrder (){
            uni.navigateTo({
                url:"/pages/agent/order"
            })
        },
        torobHouse (){
            uni.navigateTo({
                url:"/pages/agent/houseSelect"
            })
        },
        toreviewApplication (){
            uni.navigateTo({
                url:"/pages/agent/reviewApplication"
            })
        },
        toBemedium (){
            uni.navigateTo({
                url: "/pages/agent/bemedium"
            })
        }
    }
}
</script>

<style>
.header{
    text-align:center;
    font-size: 160%;
}
.list-content{
	background: #fff;
}
.list{
	width:100%;
	border-bottom:15upx solid  #f1f1f1;
	background: #fff;
}
.li{
    width:92%;
    height:100upx;
    padding:0 4%;
    border-bottom:1px solid rgb(243,243,243);
    display:flex;
    align-items:center;
}
.icon{
    width:50rpx;
    height:50rpx;
}
.text{
    padding-left:20upx;
    width:100%;
    color:#666;
    font-size: 33upx;
}
.to{
    flex-shrink:0;
    width:40upx;
    height:40upx;
}
</style>